package com.cool.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * uri路径
 *
 * @author Jiangmanman
 * @date 2020/07/31
 */
@Data
@Component
@ConfigurationProperties(prefix="cors.hosts")
public class UriPath{
    private List<String> allow;
}
